package net.neptech.apis;

import net.neptech.dto.sys.StaffDTO;
import net.neptech.model.sys.Staff;
import net.neptech.vm.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Author HuangZhengmin
 * @desc
 * @Date 2025/8/14 19:26
 * @Version 1.0
 */
  @FeignClient(name = "system",path = "/system/staff")
public interface GetStaffsApi {
  @GetMapping("getByDeptId/{deptId}")
  public ResponseResult<List<Staff>> getByDeptId(@PathVariable("deptId") Long deptId);

}
